home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was processed as: LaTeX Document
(document/latex).
You can browse this item here: dot.tex
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| LaTeX Document (document/latex)
| magic
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| LaTeX document text
| default
| |
99%
| file
| LaTeX document, ASCII text, with CR line terminators
| default
| |
100%
| checkBytes
| Printable ASCII
| default
| |
100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
100%
| siegfried
| fmt/281 LaTeX (Subdocument)
| default
| |
100%
| detectItEasy
| Format: plain text[CR]
| default (weak)
|
|
id metadata |
---|
key | value |
---|
macFileType | [TEXT] |
macFileCreator | [ttxt] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 5c 73 65 63 74 69 6f 6e | 7b 64 6f 74 20 2d 2d 2d |\section|{dot ---|
|00000010| 20 56 65 63 74 6f 72 20 | 64 6f 74 20 70 72 6f 64 | Vector |dot prod|
|00000020| 75 63 74 7d 0d 5c 6c 61 | 62 65 6c 7b 66 6e 3a 64 |uct}.\la|bel{fn:d|
|00000030| 6f 74 7d 0d 5c 69 6e 64 | 65 78 7b 64 6f 74 28 29 |ot}.\ind|ex{dot()|
|00000040| 7d 0d 5c 69 6e 64 65 78 | 7b 76 65 63 74 6f 72 20 |}.\index|{vector |
|00000050| 64 6f 74 20 70 72 6f 64 | 75 63 74 7d 0d 5c 69 6e |dot prod|uct}.\in|
|00000060| 64 65 78 7b 64 6f 74 20 | 70 72 6f 64 75 63 74 7d |dex{dot |product}|
|00000070| 0d 5c 62 65 67 69 6e 7b | 72 61 69 6c 7d 0d 44 6f |.\begin{|rail}.Do|
|00000080| 74 20 3a 20 27 64 6f 74 | 27 20 27 28 27 20 4d 61 |t : 'dot|' '(' Ma|
|00000090| 74 72 69 78 20 27 2c 27 | 20 4d 61 74 72 69 78 20 |trix ','| Matrix |
|000000a0| 27 29 27 20 3b 0d 5c 65 | 6e 64 7b 72 61 69 6c 7d |')' ;.\e|nd{rail}|
|000000b0| 0d 0d 5c 76 65 72 62 2b | 64 6f 74 28 29 2b 20 63 |..\verb+|dot()+ c|
|000000c0| 61 6c 63 75 6c 61 74 65 | 73 20 74 68 65 20 64 6f |alculate|s the do|
|000000d0| 74 20 70 72 6f 64 75 63 | 74 20 6f 66 20 74 77 6f |t produc|t of two|
|000000e0| 20 61 72 67 75 6d 65 6e | 74 20 76 65 63 74 6f 72 | argumen|t vector|
|000000f0| 73 2e 20 20 54 68 65 0d | 76 65 63 74 6f 72 73 20 |s. The.|vectors |
|00000100| 73 68 6f 75 6c 64 20 68 | 61 76 65 20 74 68 65 20 |should h|ave the |
|00000110| 73 61 6d 65 20 6e 75 6d | 62 65 72 20 6f 66 20 65 |same num|ber of e|
|00000120| 6c 65 6d 65 6e 74 73 2e | 20 20 20 54 68 65 20 72 |lements.| The r|
|00000130| 65 73 75 6c 74 61 6e 74 | 20 69 73 20 61 20 73 63 |esultant| is a sc|
|00000140| 61 6c 61 72 0d 63 6f 6e | 73 69 73 74 69 6e 67 20 |alar.con|sisting |
|00000150| 6f 66 20 74 68 65 20 73 | 75 6d 20 6f 66 20 74 68 |of the s|um of th|
|00000160| 65 20 65 6c 65 6d 65 6e | 74 20 62 79 20 65 6c 65 |e elemen|t by ele|
|00000170| 6d 65 6e 74 20 70 72 6f | 64 75 63 74 20 6f 66 20 |ment pro|duct of |
|00000180| 74 68 65 20 74 77 6f 20 | 76 65 63 74 6f 72 73 2e |the two |vectors.|
|00000190| 0d 0d 0d 24 5c 4c 6f 6e | 67 72 69 67 68 74 61 72 |...$\Lon|grightar|
|000001a0| 72 6f 77 24 20 54 68 69 | 73 20 69 73 20 6e 6f 74 |row$ Thi|s is not|
|000001b0| 20 61 6e 20 5c 52 4c 61 | 42 5c 20 62 75 69 6c 74 | an \RLa|B\ built|
|000001c0| 2d 69 6e 20 66 75 6e 63 | 74 69 6f 6e 2e 20 20 54 |-in func|tion. T|
|000001d0| 68 69 73 20 66 75 6e 63 | 74 69 6f 6e 0d 69 73 20 |his func|tion.is |
|000001e0| 6e 6f 72 6d 61 6c 6c 79 | 20 6c 6f 61 64 65 64 20 |normally| loaded |
|000001f0| 6f 6e 20 73 74 61 72 74 | 2d 75 70 20 66 72 6f 6d |on start|-up from|
|00000200| 20 74 68 65 20 5c 76 65 | 72 62 2b 64 6f 74 2e 72 | the \ve|rb+dot.r|
|00000210| 2b 20 66 69 6c 65 20 69 | 6e 20 74 68 65 0d 73 74 |+ file i|n the.st|
|00000220| 61 6e 64 61 72 64 20 5c | 76 65 72 62 2b 72 6c 69 |andard \|verb+rli|
|00000230| 62 2b 20 64 69 72 65 63 | 74 6f 72 79 2e 20 55 73 |b+ direc|tory. Us|
|00000240| 65 20 6f 66 20 74 68 65 | 20 5c 76 65 72 62 2b 2d |e of the| \verb+-|
|00000250| 72 2b 20 6f 70 74 69 6f | 6e 2c 20 69 6e 63 6f 72 |r+ optio|n, incor|
|00000260| 72 65 63 74 6c 79 20 0d | 73 65 74 74 69 6e 67 20 |rectly .|setting |
|00000270| 74 68 65 20 5c 76 65 72 | 62 2b 52 4c 41 42 5f 4c |the \ver|b+RLAB_L|
|00000280| 49 42 5f 44 49 52 2b 20 | 65 6e 76 69 72 6f 6e 6d |IB_DIR+ |environm|
|00000290| 65 6e 74 61 6c 20 76 61 | 72 69 61 62 6c 65 2c 20 |ental va|riable, |
|000002a0| 6f 72 20 6d 6f 64 69 66 | 79 69 6e 67 0d 5c 76 65 |or modif|ying.\ve|
|000002b0| 72 62 2b 64 6f 74 2e 72 | 2b 20 6d 61 79 20 6d 61 |rb+dot.r|+ may ma|
|000002c0| 6b 65 20 74 68 69 73 20 | 66 75 6e 63 74 69 6f 6e |ke this |function|
|000002d0| 20 75 6e 61 76 61 69 6c | 61 62 6c 65 2e 0d 20 0d | unavail|able.. .|
|000002e0| 5c 70 61 72 61 67 72 61 | 70 68 7b 45 78 61 6d 70 |\paragra|ph{Examp|
|000002f0| 6c 65 7d 0d 5c 69 6e 64 | 65 78 7b 65 78 61 6d 70 |le}.\ind|ex{examp|
|00000300| 6c 65 20 6f 66 20 64 6f | 74 28 29 7d 0d 5c 69 6e |le of do|t()}.\in|
|00000310| 64 65 78 7b 64 6f 74 28 | 29 21 65 78 61 6d 70 6c |dex{dot(|)!exampl|
|00000320| 65 7d 0d 5c 62 65 67 69 | 6e 7b 76 65 72 62 61 74 |e}.\begi|n{verbat|
|00000330| 69 6d 7d 0d 3e 20 61 20 | 3d 20 31 3a 35 0d 61 20 |im}.> a |= 1:5.a |
|00000340| 3d 0d 31 20 20 20 20 20 | 20 20 20 20 20 32 20 20 |=.1 | 2 |
|00000350| 20 20 20 20 20 20 20 20 | 33 20 20 20 20 20 20 20 | |3 |
|00000360| 20 20 20 34 20 20 20 20 | 20 20 20 20 20 20 35 0d | 4 | 5.|
|00000370| 3e 20 62 20 3d 20 36 3a | 32 3a 2d 31 0d 62 20 3d |> b = 6:|2:-1.b =|
|00000380| 0d 36 20 20 20 20 20 20 | 20 20 20 20 35 20 20 20 |.6 | 5 |
|00000390| 20 20 20 20 20 20 20 34 | 20 20 20 20 20 20 20 20 | 4| |
|000003a0| 20 20 33 20 20 20 20 20 | 20 20 20 20 20 32 0d 3e | 3 | 2.>|
|000003b0| 20 61 2e 2a 62 0d 36 20 | 20 20 20 20 20 20 20 20 | a.*b.6 | |
|000003c0| 31 30 20 20 20 20 20 20 | 20 20 20 31 32 20 20 20 |10 | 12 |
|000003d0| 20 20 20 20 20 20 31 32 | 20 20 20 20 20 20 20 20 | 12| |
|000003e0| 20 31 30 0d 3e 20 36 2b | 31 30 2b 31 32 2b 31 32 | 10.> 6+|10+12+12|
|000003f0| 2b 31 30 0d 35 30 0d 3e | 20 64 6f 74 28 61 2c 62 |+10.50.>| dot(a,b|
|00000400| 29 0d 35 30 0d 3e 20 63 | 20 3d 20 62 27 3b 0d 3e |).50.> c| = b';.>|
|00000410| 20 64 6f 74 28 61 2c 63 | 29 0d 20 20 20 20 20 20 | dot(a,c|). |
|00000420| 20 35 30 20 0d 5c 65 6e | 64 7b 76 65 72 62 61 74 | 50 .\en|d{verbat|
|00000430| 69 6d 7d 0d 0d 53 65 65 | 20 61 6c 73 6f 3a 20 50 |im}..See| also: P|
|00000440| 61 67 65 7e 5c 70 61 67 | 65 72 65 66 7b 66 6e 3a |age~\pag|eref{fn:|
|00000450| 63 72 6f 73 73 7d 20 5c | 76 65 72 62 2b 63 72 6f |cross} \|verb+cro|
|00000460| 73 73 2b 28 29 2b 2c 0d | 50 61 67 65 7e 5c 70 61 |ss+()+,.|Page~\pa|
|00000470| 67 65 72 65 66 7b 66 6e | 3a 73 75 6d 7d 20 5c 76 |geref{fn|:sum} \v|
|00000480| 65 72 62 2b 73 75 6d 28 | 29 2b 2c 0d 50 61 67 65 |erb+sum(|)+,.Page|
|00000490| 7e 5c 70 61 67 65 72 65 | 66 7b 66 6e 3a 74 72 61 |~\pagere|f{fn:tra|
|000004a0| 63 65 7d 20 5c 76 65 72 | 62 2b 74 72 61 63 65 28 |ce} \ver|b+trace(|
|000004b0| 29 2b 2e 0d 0d 5c 6e 65 | 77 70 61 67 65 0d 0d 0d |)+...\ne|wpage...|
|000004c0| 0d 0d 0d 0d | |.... | |
+--------+-------------------------+-------------------------+--------+--------+